// 待办事项类型
export interface iItem {
  id: string,
  value: string,
  checked: boolean
}

// 数据类型
export interface iState {
  value: string,
  list: iItem[]
}

export interface todoItemProps {
  readonly data?: iItem
}